﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MethodWorx.CMS.Administration
{
    public class HostedApplicationUsage
    {
        public decimal ContentSize { get; set; }
        public decimal SchemaSize { get; set; }
        public decimal DeletedItems { get; set; }
        public decimal PluginData { get; set; }

        public decimal TotalInMegabytes
        {
            get
            {
                return ((this.ContentSize + this.SchemaSize + this.DeletedItems + this.PluginData) / 1024) / 1024;
            }
        }
    }
}
